package com.hwy;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//开启缓存注解功能
@EnableCaching
//提供日志注解
@Slf4j
//启动类注解
@SpringBootApplication
@ServletComponentScan
//开启事务支持
@EnableTransactionManagement
public class ReigieSpringbootApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReigieSpringbootApplication.class,args);
        log.info("reigie项目启动成功。");
    }
}
